import { post } from "../utils/axios";
import Taro from '@tarojs/taro'

class Equipment {
  app_id=Taro.getStorageSync('app_id');
  token= Taro.getStorageSync('token');
  page= null;
  /**
   *
   * @param 
   */

  async equipmentList(form) {
    const res = await post("/offlinestore/agent.cate/index", {
      app_id: this.app_id,
      token: this.token,
      page: form.page,
    });
    return res;
  }
}

export default new Equipment();
